Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Drop componentWillReceiveProps #201

Merged
merged 1 commit into from
Apr 4, 2019
Merged

refactor: Drop componentWillReceiveProps #201

merged 1 commit into from
Apr 4, 2019

Conversation

taion
Copy link
Member

@taion taion commented Mar 29, 2019

No description provided.

@taion
Copy link
Member Author

taion commented Mar 29, 2019

@jquense Could you take a look?

}

componentWillUnmount() {
this.selectionReference.dispose();
this.state.selectionReference.dispose();
this.props.querySubscription.unsubscribe(this.onUpdate);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not the state one here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aren't they necessarily the same, by construction?

Copy link
Contributor

@jquense jquense left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than that one note

@taion taion merged commit 465b899 into master Apr 4, 2019
@taion taion deleted the r17 branch April 4, 2019 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants